package com.ants.boot.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 蚂蚁会花呗
 * @date 2022/1/11 17:11
 * 日志，创建人、创建方法等，可自主添加
 */
public class OperateLog {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 操作人
     */
    private String operatePerson;

    /**
     * 模块，描述
     */
    private String module;

    /**
     * 操作
     */
    private String operate;


    /**
     * ip
     */
    private String ip;


    /**
     * 创建时间
     */
    private LocalDateTime createTime;


    /**
     * 开始时间
     */
    private LocalDateTime startTime;


    /**
     * 结束时间
     */
    private LocalDateTime endTime;


    /**
     * 消耗时间
     */
    private BigDecimal costTime;


    /**
     * 消耗时间，毫秒
     */
    private Long costMilliSecond;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperatePerson() {
        return operatePerson;
    }

    public void setOperatePerson(String operatePerson) {
        this.operatePerson = operatePerson;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getCostTime() {
        return costTime;
    }

    public void setCostTime(BigDecimal costTime) {
        this.costTime = costTime;
    }

    public Long getCostMilliSecond() {
        return costMilliSecond;
    }

    public void setCostMilliSecond(Long costMilliSecond) {
        this.costMilliSecond = costMilliSecond;
    }
}
